<div class="layui-form-item" pane="">
    <label class="layui-form-label">{{$value['desc']}}</label>
    <div class="layui-input-block">
        {{foreach $value['option'] as $k=>$v}}
        {{if $value['radio_value']==1}}
            {{if in_array($k,json_decode($value['value']))}}
        <input type="checkbox" name="{{$value['name']}}[]" value="{{$k}}" lay-skin="primary" title="{{$v}}" checked="">
            {{else}}
        <input type="checkbox" name="{{$value['name']}}[]" value="{{$k}}" lay-skin="primary" title="{{$v}}">
            {{/if}}
        {{else}}
            {{if isset($value['value'])&&in_array($v,json_decode($value['value']))}}
        <input type="checkbox" name="{{$value['name']}}[]" value="{{$v}}" lay-skin="primary" title="{{$v}}" checked="">
            {{else}}
        <input type="checkbox" name="{{$value['name']}}[]" value="{{$v}}" lay-skin="primary" title="{{$v}}">
            {{/if}}
        {{/if}}
        {{/foreach}}
        <br><span style="color: red">{{$value['tagging']}}</span>
    </div>
</div>